home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / lang / perl_src.lha / fsf / perl / ext / SDBM_File / Makefile.PL next >
Encoding:
Makefile  |  1996-06-24  |  581 b   |  24 lines

  1. use ExtUtils::MakeMaker;
  2.  
  3. # The existence of the ./sdbm/Makefile.PL file causes MakeMaker
  4. # to automatically include Makefile code for the targets
  5. #    config, all, clean, realclean and sdbm/Makefile
  6. # which perform the corresponding actions in the subdirectory.
  7.  
  8. WriteMakefile(
  9.     NAME    => 'SDBM_File',
  10.     MYEXTLIB => 'sdbm/libsdbm$(LIB_EXT)',
  11.     MAN3PODS     => ' ',     # Pods will be built by installman.
  12.     XSPROTOARG => '-noprototypes',         # XXX remove later?
  13.     VERSION_FROM => 'SDBM_File.pm',
  14. );
  15.  
  16.  
  17. sub MY::postamble {
  18.     '
  19. $(MYEXTLIB): sdbm/Makefile
  20.     cd sdbm; $(MAKE) all
  21. ';
  22. }
  23.  
  24.